.class Les/ey$f;
.super Ljava/lang/Object;
.source "HomeTabLayoutManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/ey;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "f"
.end annotation


# instance fields
.field public a:Landroid/view/View;

.field public b:Landroid/widget/ImageView;

.field public c:Landroid/widget/TextView;

.field public d:Landroid/widget/ImageView;

.field private e:Les/gy;

.field final synthetic f:Les/ey;


# direct methods
.method public constructor <init>(Les/ey;Lcom/google/android/material/tabs/TabLayout$Tab;Les/gy;)V
    .locals 2

    .line 1
    iput-object p1, p0, Les/ey$f;->f:Les/ey;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p3, p0, Les/ey$f;->e:Les/gy;

    .line 3
    invoke-virtual {p2}, Lcom/google/android/material/tabs/TabLayout$Tab;->getCustomView()Landroid/view/View;

    move-result-object p3

    const v0, 0x7f09075f

    .line 4
    invoke-static {p3, v0}, Lcom/estrongs/android/util/p0;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    const v0, 0x7f09075e

    .line 5
    invoke-static {p3, v0}, Lcom/estrongs/android/util/p0;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    const v0, 0x7f090760

    .line 6
    invoke-static {p3, v0}, Lcom/estrongs/android/util/p0;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Les/ey$f;->c:Landroid/widget/TextView;

    const v0, 0x7f09075d

    .line 7
    invoke-static {p3, v0}, Lcom/estrongs/android/util/p0;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    .line 8
    new-instance v1, Les/dy;

    invoke-direct {v1, p0}, Les/dy;-><init>(Les/ey$f;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 9
    new-instance v0, Les/ey$f$a;

    invoke-direct {v0, p0, p1, p3, p2}, Les/ey$f$a;-><init>(Les/ey$f;Les/ey;Landroid/view/View;Lcom/google/android/material/tabs/TabLayout$Tab;)V

    invoke-virtual {p3, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 10
    invoke-virtual {p2, p0}, Lcom/google/android/material/tabs/TabLayout$Tab;->setTag(Ljava/lang/Object;)Lcom/google/android/material/tabs/TabLayout$Tab;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 4

    .line 5
    iget-object v0, p0, Les/ey$f;->e:Les/gy;

    iget-object v1, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v1}, Les/ey;->a(Les/ey;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v0, v1}, Les/gy;->a(Landroid/content/Context;)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 6
    iget-object v1, p0, Les/ey$f;->e:Les/gy;

    iget-object v2, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v2}, Les/ey;->a(Les/ey;)Landroid/app/Activity;

    move-result-object v2

    invoke-virtual {v1, v2}, Les/gy;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    .line 7
    iget-object v2, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 8
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    const v2, 0x3e99999a    # 0.3f

    invoke-static {v0, v2}, Landroidx/core/view/ViewCompat;->setAlpha(Landroid/view/View;F)V

    .line 9
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    .line 10
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setFocusable(Z)V

    .line 11
    iget-object v0, p0, Les/ey$f;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 12
    iget-object v0, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v0}, Les/ey;->a(Les/ey;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f080561

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 13
    iget-object v1, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    iget-object v2, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v2}, Les/ey;->a(Les/ey;)Landroid/app/Activity;

    move-result-object v2

    const v3, 0x7f0600af

    invoke-static {v2, v0, v3}, Lcom/estrongs/android/util/p0;->a(Landroid/content/Context;Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method

.method public synthetic a(Landroid/view/View;)V
    .locals 1

    .line 1
    iget-object p1, p0, Les/ey$f;->e:Les/gy;

    invoke-virtual {p1}, Les/gy;->c()Ljava/lang/String;

    move-result-object p1

    const-string v0, "#home_page#"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 2
    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object p1

    invoke-virtual {p1}, Les/b00;->i()Z

    move-result p1

    if-eqz p1, :cond_0

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 p1, 0x1

    :goto_1
    if-eqz p1, :cond_2

    .line 3
    iget-object p1, p0, Les/ey$f;->f:Les/ey;

    invoke-static {p1}, Les/ey;->f(Les/ey;)I

    move-result v0

    invoke-virtual {p1, v0}, Les/ey;->a(I)V

    goto :goto_2

    .line 4
    :cond_2
    iget-object p1, p0, Les/ey$f;->f:Les/ey;

    invoke-static {p1}, Les/ey;->a(Les/ey;)Landroid/app/Activity;

    move-result-object p1

    const-string v0, "window_delete_home"

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/premium/newui/ChinaMemberActivity;->a(Landroid/content/Context;Ljava/lang/String;)V

    :goto_2
    return-void
.end method

.method public b()V
    .locals 5

    .line 1
    iget-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 2
    iget-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setClickable(Z)V

    .line 3
    iget-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setFocusable(Z)V

    .line 4
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    const v3, 0x7f09075d

    invoke-virtual {v0, v3}, Landroid/view/View;->setNextFocusRightId(I)V

    .line 5
    iget-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    const v3, 0x7f09075f

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setNextFocusLeftId(I)V

    .line 6
    iget-object v0, p0, Les/ey$f;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 7
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/pop/FexApplication;->c()Lcom/estrongs/android/ui/theme/b;

    move-result-object v3

    const v4, 0x7f080453

    invoke-virtual {v3, v4}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 8
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    iget-object v3, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v3}, Les/ey;->g(Les/ey;)I

    move-result v3

    invoke-virtual {v0, v3, v1, v1, v1}, Landroid/view/View;->setPadding(IIII)V

    .line 9
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    .line 10
    iget-object v1, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v1}, Les/ey;->a(Les/ey;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v3, 0x7f0700b7

    invoke-virtual {v1, v3}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 11
    iget-object v1, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 12
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setSelected(Z)V

    .line 13
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setFocusable(Z)V

    return-void
.end method

.method public c()V
    .locals 4

    .line 1
    iget-object v0, p0, Les/ey$f;->c:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 2
    iget-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 3
    iget-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setClickable(Z)V

    .line 4
    iget-object v0, p0, Les/ey$f;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setFocusable(Z)V

    .line 5
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    const v2, 0x106000d

    invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundResource(I)V

    .line 6
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    iget-object v2, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v2}, Les/ey;->h(Les/ey;)I

    move-result v2

    iget-object v3, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v3}, Les/ey;->h(Les/ey;)I

    move-result v3

    invoke-virtual {v0, v2, v1, v3, v1}, Landroid/view/View;->setPadding(IIII)V

    .line 7
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    .line 8
    iget-object v2, p0, Les/ey$f;->f:Les/ey;

    invoke-static {v2}, Les/ey;->a(Les/ey;)Landroid/app/Activity;

    move-result-object v2

    invoke-virtual {v2}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0700ad

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v2

    iput v2, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iput v2, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 9
    iget-object v2, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 10
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setSelected(Z)V

    .line 11
    iget-object v0, p0, Les/ey$f;->a:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setFocusable(Z)V

    .line 12
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    new-instance v1, Les/ey$f$b;

    invoke-direct {v1, p0}, Les/ey$f$b;-><init>(Les/ey$f;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->post(Ljava/lang/Runnable;)Z

    .line 13
    iget-object v0, p0, Les/ey$f;->b:Landroid/widget/ImageView;

    const v1, 0x3e99999a    # 0.3f

    invoke-static {v0, v1}, Landroidx/core/view/ViewCompat;->setAlpha(Landroid/view/View;F)V

    return-void
.end method
